package com.sdu.cloudservice.service;
/**
 * 19-6-22  L
 */

import com.sdu.cloudservice.dto.Envelope;

public interface AdminService {
    /**
     * 分页查询用户操作
     * @param currentPage   默认0 检查合法性   0-maxPage
     * @param code  默认0 login-register  (默认2级login)2 username   1 registerDate  3 picDownload   4 excelDownload 5 queryTimes
     * @return  list<entity>、非法page
     */
    public Envelope getUserList(int currentPage,int code);

    public Envelope getPageNumber();

    public Envelope login(String username,String password);

    public Envelope  verify_password(String username,String password);

    public Envelope change_password(String username,String newpassword);
}
